package com.cdks.wuxiu.api.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;


@ApiModel(description = "短信验证登录参数")
@Data
@EqualsAndHashCode(callSuper = true)
public class AccountSmsLoginParam extends LoginParam {
    @NotNull
    @ApiModelProperty(value = "手机号", required = true, example = "13000000000")
    private String phone;

    @NotNull
    @ApiModelProperty(value = "验证码", required = true, example = "123456")
    private String code;
}
